package com.fl.mybatisgenerator.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fl.mybatisgenerator.mapper.ThreadDataMapper;
import com.baomidou.mybatisplus.extension.service.additional.query.impl.LambdaQueryChainWrapper;
import com.baomidou.mybatisplus.extension.service.additional.query.impl.QueryChainWrapper;
import com.baomidou.mybatisplus.extension.service.additional.update.impl.LambdaUpdateChainWrapper;
import com.baomidou.mybatisplus.extension.service.additional.update.impl.UpdateChainWrapper;
import com.fl.mybatisgenerator.entity.ThreadData;
import com.fl.mybatisgenerator.service.ThreadDataService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.function.Function;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fanlei
 * @since 2022-06-23
 */
@Service
public class ThreadDataServiceImpl extends ServiceImpl<ThreadDataMapper, ThreadData> implements ThreadDataService {

    @Override
    public boolean saveBatch(Collection<ThreadData> entityList) {
        return super.saveBatch(entityList);
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<ThreadData> entityList) {
        return super.saveOrUpdateBatch(entityList);
    }

    @Override
    public boolean update(Wrapper<ThreadData> updateWrapper) {
        return super.update(updateWrapper);
    }

    @Override
    public boolean updateBatchById(Collection<ThreadData> entityList) {
        return super.updateBatchById(entityList);
    }

    @Override
    public ThreadData getOne(Wrapper<ThreadData> queryWrapper) {
        return super.getOne(queryWrapper);
    }

    @Override
    public int count() {
        return super.count();
    }

    @Override
    public List<ThreadData> list() {
        return super.list();
    }

    @Override
    public IPage<ThreadData> page(IPage<ThreadData> page) {
        return super.page(page);
    }

    @Override
    public List<Map<String, Object>> listMaps() {
        return super.listMaps();
    }

    @Override
    public List<Object> listObjs() {
        return super.listObjs();
    }

    @Override
    public <V> List<V> listObjs(Function<? super Object, V> mapper) {
        return super.listObjs(mapper);
    }

    @Override
    public List<Object> listObjs(Wrapper<ThreadData> queryWrapper) {
        return super.listObjs(queryWrapper);
    }

    @Override
    public IPage<Map<String, Object>> pageMaps(IPage<ThreadData> page) {
        return super.pageMaps(page);
    }

    @Override
    public QueryChainWrapper<ThreadData> query() {
        return super.query();
    }

    @Override
    public LambdaQueryChainWrapper<ThreadData> lambdaQuery() {
        return super.lambdaQuery();
    }

    @Override
    public UpdateChainWrapper<ThreadData> update() {
        return super.update();
    }

    @Override
    public LambdaUpdateChainWrapper<ThreadData> lambdaUpdate() {
        return super.lambdaUpdate();
    }

    @Override
    public boolean saveOrUpdate(ThreadData entity, Wrapper<ThreadData> updateWrapper) {
        return super.saveOrUpdate(entity, updateWrapper);
    }
}
